package com.cskaoyan.service;

import com.cskaoyan.bo.LoginBO;
import com.cskaoyan.vo.InfoVO;

import java.util.Date;

public interface AuthService {
    long login(LoginBO data);

    InfoVO queryByUsername(String username);

    String queryPasswordByname(String username);

    void updateHostAndLoginTime(String host, Date lastAccessTime, String username);
}
